import request from '../utils/request'


export function download(id) {
    return request({
        url: 'v1/resource/download/' + id,
        method: 'GET'
    })
}
export function getTypes(url) {
    return request({
        url: 'v1/resource/types?url=' + url,
        method: 'GET'
    })
}